home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsIModifyableXPointer.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  95 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIModifyableXPointer.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIModifyableXPointer_h__
  6. #define __gen_nsIModifyableXPointer_h__
  7.  
  8.  
  9. #ifndef __gen_nsIXPointer_h__
  10. #include "nsIXPointer.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMRange; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIModifyableXPointerResult */
  21. #define NS_IMODIFYABLEXPOINTERRESULT_IID_STR "2dc3be2e-642d-4d7e-b3c5-f3dac51afbee"
  22.  
  23. #define NS_IMODIFYABLEXPOINTERRESULT_IID \
  24.   {0x2dc3be2e, 0x642d, 0x4d7e, \
  25.     { 0xb3, 0xc5, 0xf3, 0xda, 0xc5, 0x1a, 0xfb, 0xee }}
  26.  
  27. /**
  28.  * Helper interface that can assist in creating an nsIXPointerResult.
  29.  */
  30. class NS_NO_VTABLE nsIModifyableXPointerResult : public nsIXPointerResult {
  31.  public: 
  32.  
  33.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMODIFYABLEXPOINTERRESULT_IID)
  34.  
  35.   /* void appendRange (in nsIDOMRange aRange); */
  36.   NS_IMETHOD AppendRange(nsIDOMRange *aRange) = 0;
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIMODIFYABLEXPOINTERRESULT \
  42.   NS_IMETHOD AppendRange(nsIDOMRange *aRange); 
  43.  
  44. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  45. #define NS_FORWARD_NSIMODIFYABLEXPOINTERRESULT(_to) \
  46.   NS_IMETHOD AppendRange(nsIDOMRange *aRange) { return _to AppendRange(aRange); } 
  47.  
  48. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  49. #define NS_FORWARD_SAFE_NSIMODIFYABLEXPOINTERRESULT(_to) \
  50.   NS_IMETHOD AppendRange(nsIDOMRange *aRange) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendRange(aRange); } 
  51.  
  52. #if 0
  53. /* Use the code below as a template for the implementation class for this interface. */
  54.  
  55. /* Header file */
  56. class nsModifyableXPointerResult : public nsIModifyableXPointerResult
  57. {
  58. public:
  59.   NS_DECL_ISUPPORTS
  60.   NS_DECL_NSIMODIFYABLEXPOINTERRESULT
  61.  
  62.   nsModifyableXPointerResult();
  63.  
  64. private:
  65.   ~nsModifyableXPointerResult();
  66.  
  67. protected:
  68.   /* additional members */
  69. };
  70.  
  71. /* Implementation file */
  72. NS_IMPL_ISUPPORTS1(nsModifyableXPointerResult, nsIModifyableXPointerResult)
  73.  
  74. nsModifyableXPointerResult::nsModifyableXPointerResult()
  75. {
  76.   /* member initializers and constructor code */
  77. }
  78.  
  79. nsModifyableXPointerResult::~nsModifyableXPointerResult()
  80. {
  81.   /* destructor code */
  82. }
  83.  
  84. /* void appendRange (in nsIDOMRange aRange); */
  85. NS_IMETHODIMP nsModifyableXPointerResult::AppendRange(nsIDOMRange *aRange)
  86. {
  87.     return NS_ERROR_NOT_IMPLEMENTED;
  88. }
  89.  
  90. /* End of implementation class template. */
  91. #endif
  92.  
  93.  
  94. #endif /* __gen_nsIModifyableXPointer_h__ */
  95.